package cn.t.core.enums.base;

import lombok.Getter;

@Getter
public enum BaseStatusEnum implements CommonEnum<Integer, String> {

    AVAILABLE(1, "AVAILABLE"), DISABLE(0, "DISABLE");


    BaseStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }


    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    private final Integer code;
    private final String name;


}
